from globalVar import gloVar
from modify import modify

gloVar.state = False  # 修改为False
print('state is {}'.format(gloVar.state))

modify(True)   # 修改为True

print('state is {}'.format(gloVar.state))    # 显示修改后的值，为True